home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / 1997.ZIP / MCD108.ARC / MCD.MAN < prev    next >
Text File  |  1989-06-05  |  34KB  |  966 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                         MCD - Mouse Cursor Designer
  18.  
  19.                               Users Guide for
  20.  
  21.                                 Version 1.08
  22.  
  23.                                 05 June 1989
  24.  
  25.                  Copyright (C) 1988, 1989 by Michael Burton
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.      Michael Burton
  50.      15540 Boot Hill Rd.
  51.      Hayden Lake, Idaho  83835
  52.      (208) 772-9347 (after 6 p.m. Pacific Time)
  53.  
  54.      MCD Mouse Cursor Designer                            Version 1.08
  55.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                              TABLE OF CONTENTS
  62.  
  63.  
  64.      Introduction. . . . . . . . . . . . . . . . . . . . . . . . .  3
  65.           Overview . . . . . . . . . . . . . . . . . . . . . . . .  3
  66.           Purpose  . . . . . . . . . . . . . . . . . . . . . . . .  3
  67.           Program Specifications . . . . . . . . . . . . . . . . .  3
  68.           MCD as ShareWare . . . . . . . . . . . . . . . . . . . .  3
  69.           Association of Shareware Professionals . . . . . . . . .  4
  70.      Getting Started . . . . . . . . . . . . . . . . . . . . . . .  6
  71.           Running MCD. . . . . . . . . . . . . . . . . . . . . . .  6
  72.           The MCD String Editor. . . . . . . . . . . . . . . . . .  6
  73.           The Main Menu. . . . . . . . . . . . . . . . . . . . . .  7
  74.           The Screen Mask Menu . . . . . . . . . . . . . . . . . .  8
  75.           The Cursor Mask Menu . . . . . . . . . . . . . . . . . .  9
  76.      Screen/Cursor Mask Operations . . . . . . . . . . . . . . . . 10
  77.           Building a Cursor. . . . . . . . . . . . . . . . . . . . 10
  78.           See-through Cursors. . . . . . . . . . . . . . . . . . . 11
  79.           Overlay Cursors. . . . . . . . . . . . . . . . . . . . . 11
  80.           Animated Cursors . . . . . . . . . . . . . . . . . . . . 12
  81.      Creating Source Code. . . . . . . . . . . . . . . . . . . . . 12
  82.      Appendix A - MCD Error Messages . . . . . . . . . . . . . . . 14
  83.      Appendix B - Software Discrepancy Report Form . . . . . . . . 15
  84.      Appendix C - MCD Revision History . . . . . . . . . . . . . . 16
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.      
  111.                                   Page 2
  112.  
  113.      MCD - Mouse Cursor Designer                          Version 1.08
  114.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  115.      
  116.      Introduction
  117.  
  118.      Overview
  119.  
  120.      MCD, the Mouse Cursor Designer, is specifically tailored to help
  121.      graphics programmers to design mouse cursors for applications
  122.      that use a Microsoft compatible mouse driver.  MCD uses a
  123.      computer's graphics capabilities and its mouse to modify the two
  124.      mouse cursor masks.  The user may save cursor designs and reload
  125.      them. MCD can produce source code in Pascal, Basic, C and
  126.      assembly language for the currently displayed cursor.
  127.  
  128.      MCD was written in Borland International Turbo C, version 2.0. It
  129.      requires a graphics display adapter and a Microsoft compatible
  130.      mouse.
  131.  
  132.      Purpose
  133.  
  134.      The purpose of this users guide is to provide help with running
  135.      MCD, as well as helping you to get the most out of the program.
  136.      It will explain how to run MCD, how to use the Main Menu options,
  137.      how to use the screen mask and cursor mask options, how to create
  138.      mouse cursors and how to create computer language source code
  139.      from a mouse cursor.
  140.  
  141.      Program Specifications
  142.  
  143.          Program date:              06-05-89
  144.          Program version:           1.08
  145.          Program size:              65996
  146.          Disk Drives required:      One for file storage/retrieval
  147.          Display required:          A graphics adapter (CGA, EGA, VGA,
  148.                                     EEGA, Hercules, etc.).
  149.          Memory Required:           128k
  150.          Special hardware required: Any pointing device with a
  151.                                     Microsoft compatible mouse driver
  152.                                     (Microsoft, MSC, Logitech,
  153.                                     Key Tronic, Kraft, Mitsubishi,
  154.                                     MicroSpeed, etc.).
  155.  
  156.      MCD as ShareWare
  157.  
  158.      The MCD program and this manual are both Copyright (C) 1988,1989
  159.      by Michael Burton. They are being distributed under the
  160.      'ShareWare' concept.  This means that if after trying out MCD,
  161.      you decide to use it on a regular basis, you are expected to
  162.      register the program by sending $15 to
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.      
  172.                                   Page 3
  173.  
  174.      MCD - Mouse Cursor Designer                          Version 1.08
  175.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  176.      
  177.  
  178.                            Michael Burton
  179.                            15540 Boot Hill Rd.
  180.                            Hayden Lake, ID  83835
  181.  
  182.      In return for your registration, you will immediately receive via
  183.      first class mail the latest version of MCD and a printed version
  184.      of this guide.
  185.  
  186.      You are encouraged to copy and distribute MCD to anyone with the
  187.      following restrictions:
  188.  
  189.          1. The MCD program, the example cursor files and the file for
  190.             this manual must be distributed as a set.  It is important
  191.             that the manual be included.
  192.  
  193.          2. No changes may be made to either the program or this
  194.             manual. MCD and this manual are both copyrighted and
  195.             should remain unchanged.
  196.  
  197.          3. You may not charge for MCD's distribution or copying.  The
  198.             exception to this is User Groups, who may make a small
  199.             charge for the cost of disks and copying, not to exceed
  200.             $8.
  201.  
  202.          4. Commercial use of MCD in any manner is prohibited without
  203.             the express written consent of the author.  Commercial
  204.             users of MCD MUST register the number of copies that they
  205.             will be using.
  206.  
  207.      The MCD program and this accompanying users guide are provided
  208.      'as is' without warranty of any kind.  The correctness, accuracy,
  209.      reliability and currentness of MCD and this users guide is not
  210.      warranted.  The entire risk as to results and performance of MCD
  211.      is assumed by the user.
  212.  
  213.      Association of Shareware Professionals
  214.  
  215.      The author of this program is a member of the Association of
  216.      Shareware Professionals (ASP) and has agreed to comply with its
  217.      standards:
  218.  
  219.  
  220.      Programming Standards -
  221.  
  222.          1. The program meets ASP's definition of Shareware.
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.      
  233.                                   Page 4
  234.  
  235.      MCD - Mouse Cursor Designer                          Version 1.08
  236.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89 
  237.      
  238.  
  239.          2. The program has been thoroughly tested by the author and
  240.             should not be harmful to other files or hardware if used
  241.             properly (although ASP cannot warrant this; therefore, the
  242.             user should take normal precautions in trying new
  243.             software).
  244.  
  245.      Documentation Standards -
  246.  
  247.          1. Sufficient documentation is provided to allow the average
  248.             user to try all major functions of the program.
  249.  
  250.          2. The program author has explained the Shareware concept in
  251.             a professional and positive manner.
  252.  
  253.      Support Standards -
  254.  
  255.          1. The program author will respond as described in the
  256.             documentation to people who send registration payments. At
  257.             a minimum, the author will send an acknowledgment of
  258.             payment.
  259.  
  260.          2. The author will respond to written bug reports from
  261.             registered users when the user provides a self-addressed,
  262.             stamped envelope (some authors will respond by phone, but
  263.             this is not an ASP requirement).
  264.  
  265.          3. Incompatibilities with other software or hardware, major
  266.             or unusual program limitations, or known problems are
  267.             noted in the documentation that comes with the Shareware
  268.             version of the program.
  269.  
  270.      General -
  271.  
  272.          1. The author keeps his/her membership in ASP current.
  273.  
  274.          2. The author recognizes that any user may appeal to ASP for
  275.             any unresolved dispute that arises.
  276.  
  277.      If you feel that the author has not complied with these standards
  278.      in some manner or if you register the program with the author and
  279.      subsequently have any disputes with the author which cannot be
  280.      resolved, please contact the ASP on CompuServe in the IBMJR
  281.      forum.
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.      
  294.                                   Page 5
  295.  
  296.      MCD - Mouse Cursor Designer                          Version 1.08
  297.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  298.      
  299.  
  300.      While ASP cannot warrant programs nor the actions of members, ASP
  301.      will do what it can to assure that all authors who claim
  302.      membership comply with ASP standards.  These standards are the
  303.      assurance of quality and support that you  will get when you
  304.      register Shareware produced by ASP members.
  305.  
  306.  
  307.      Getting Started
  308.  
  309.      Running MCD
  310.  
  311.      Running MCD is very simple.  The only file required is MCD.EXE.
  312.      It may be anywhere on your disk, as long as it is accessible via
  313.      the PATH variable.  The only things you need before running MCD
  314.      is a graphics display adapter and your mouse driver loaded.  To
  315.      invoke the program, simply type
  316.  
  317.              MCD
  318.  
  319.      No command line options are available.  MCD will display a screen
  320.      of text explaining what MCD does and explaining that MCD is a
  321.      ShareWare program.  You may press any key to continue to the MCD
  322.      main display.
  323.  
  324.      The MCD String Editor
  325.  
  326.      Several selections in the MCD Main Menu cause input to be
  327.      solicited from the user.  The input string will be entered in an
  328.      area that has black letters on a white backgound.  Each of these
  329.      input strings use the same editor functions in MCD.  The editor
  330.      uses the following keys:
  331.  
  332.      Enter -     Finished with the input.
  333.  
  334.      Esc -       You changed your mind and don't want to do this
  335.                  function after all.
  336.  
  337.      Ctl-BkSpc - Erase the entire input string and start over.
  338.  
  339.      Insert -    Toggle between insert mode and overwrite mode.  The
  340.                  cursor will change size to indicate a change in mode.
  341.                  A larger cursor means insert mode and a smaller
  342.                  cursor means overwrite mode.
  343.  
  344.      Home -      Go to the beginning of the input string.
  345.  
  346.      End -       Go to the end of the input string.
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.      
  355.                                   Page 6
  356.  
  357.      MCD - Mouse Cursor Designer                          Version 1.08
  358.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  359.      
  360.  
  361.      Delete -    Erase the character under the cursor.
  362.  
  363.      Backspace - Erase the character to the left of the cursor.
  364.  
  365.      Arrow Keys- Move around in the input string without affecting
  366.                  anything.
  367.  
  368.  
  369.      The Main Menu 
  370.  
  371.      The Main Menu contains general MCD functions.  These include
  372.      loading a saved cursor image, saving a cursor image, generating a
  373.      source code fragment from a cursor image, changing the working
  374.      directory, setting a hotspot for a cursor, swapping between the
  375.      normal MCD cursor and the one being worked on and exiting to DOS.
  376.  
  377.      A previously saved cursor image may be reloaded by clicking on
  378.      'Load Cursor Image'.  MCD will show you what files exist in the
  379.      current directory and will request a filename.  The filename
  380.      extension (.MCD) is not required.  MCD will load the selected
  381.      file and return to the MCD main display, where you will see the
  382.      new cursor image.
  383.  
  384.      The currently displayed cursor image may be saved for later
  385.      retrieval by selecting the 'Save Cursor Image' function.  MCD
  386.      will show you what files already exist in the current directory
  387.      and will request a filename.  The filename extension (.MCD) is
  388.      not required.  MCD will create a file containing the cursor
  389.      image.  MCD will write over any file already present without
  390.      asking permission, so be careful.
  391.  
  392.      Source code may be generated from the cursor image for one of four
  393.      languages by clicking on the 'Generate Source' function. The main
  394.      MCD screen will be cleared and a menu of the four language
  395.      choices will be displayed.  Select one of the languages by
  396.      pressing its letter, or return to the MCD main display by
  397.      pressing Esc.  If you select a language, MCD will show you what
  398.      files already exist in the current directory and will request a
  399.      filename.  The filename extension (.C, .PAS, .BAS or .ASM) is not
  400.      required.  MCD will create a file containing the current cursor
  401.      image and its hotspot values, written in the appropriate
  402.      language.  MCD will write over any file already present without
  403.      asking permission, so be careful.
  404.  
  405.      You may change the current working directory by clicking on
  406.      'Change Directory'.  MCD will display the current drive/path and
  407.      let you enter a new one.  The files contained in the current
  408.      directory are also displayed by this function.
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.      
  416.                                   Page 7
  417.  
  418.      MCD - Mouse Cursor Designer                          Version 1.08
  419.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  420.      
  421.  
  422.      You may select a hotspot for the cursor you are working on by
  423.      clicking on the 'Set Hotspot' function.  The hotspot is the place
  424.      within the graphics cursor that is referred to by all the mouse
  425.      functions, i.e., it is the 'center' of mouse activity.  Mouse
  426.      interrupt 33h, function 9, requires that you give it the
  427.      coordinates of the hotspot when you select a new graphics cursor.
  428.      The variables hsx and hsy in each source code file that MCD
  429.      generates contain the hotspot coordinates.  Hsx and hsy are also
  430.      displayed on the main MCD screen, and are indicated on the cursor
  431.      mask by an 'X'.
  432.  
  433.      You may do an actual 'test drive' with the cursor you are building
  434.      by clicking on 'Swap Cursors'.  This function selects the cursor
  435.      being worked on as the cursor for your pointing device, and also
  436.      uses that cursor's hotspot.  BE CAREFUL - you could actually lose
  437.      track of where the cursor is if you select this function while
  438.      the cursor you are working on is invisible.  You should also be
  439.      careful about the hotspot - if you are test driving a cursor, the
  440.      hotspot is probably in a different spot than on our default
  441.      pointing finger cursor, so you could end up clicking on something
  442.      you didn't mean to.
  443.  
  444.      You may exit MCD to DOS by clicking on 'Exit to DOS' in the Main
  445.      Menu, or by pressing the Escape key on the keyboard.  When you
  446.      exit, all current work will be lost, so be sure to save it first
  447.      (if necessary) before exiting.
  448.  
  449.      The Screen Mask Menu
  450.  
  451.      The Screen Mask Menu allows you to perform mass pixel operations
  452.      on the screen mask.  Each operation is explained below.
  453.  
  454.      Clear -    Set all the pixels in the screen mask to off.  This is
  455.                 the opposite of the default condition.
  456.  
  457.      Invert -   Set all the pixels in the screen mask that are on to
  458.                 off.  Set all the pixels that are off to on.  This
  459.                 function can be used after a Clear to reset the screen
  460.                 mask to its default condition.  It can also be used to
  461.                 make a reverse image of the cursor mask after
  462.                 Transferring the cursor mask.
  463.  
  464.      Transfer - Copy the cursor mask into the screen mask.  This is
  465.                 usually done after the cursor mask has been finished,
  466.                 in order to make an outlined cursor.
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.      
  477.                                   Page 8
  478.  
  479.      MCD - Mouse Cursor Designer                          Version 1.08
  480.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  481.      
  482.  
  483.      Flip -     Flip the screen mask either left-to-right (as in a
  484.                 mirror) or top-to-bottom.  This function alternates
  485.                 between the two modes, so if you click on it four
  486.                 times the screen mask will end up looking like it did
  487.                 when you started.
  488.  
  489.      Up -       Move each row of pixels in the screen mask up by one
  490.                 row. The top row of pixels is lost.
  491.  
  492.      Down -     Move each row of pixels in the screen mask down by one
  493.                 row.  The bottom row of pixels is lost.
  494.  
  495.      Left -     Move each column of pixels in the screen mask left by
  496.                 one column.  The left column of pixels is lost.
  497.  
  498.      Right -    Move each column of pixels in the screen mask right by
  499.                 one column.  The right column of pixels is lost.
  500.  
  501.      The Cursor Mask Menu
  502.  
  503.      The Cursor Mask Menu allows you to perform the same mass pixel
  504.      operations on the cursor mask as can be performed on the screen
  505.      mask.  Each operation is explained below.
  506.  
  507.      Clear -    Set all the pixels in the cursor mask to off.  This is
  508.                 the default cursor mask condition.
  509.  
  510.      Invert -   Set all the pixels in the cursor mask that are on to
  511.                 off.  Set all the pixels that are off to on.
  512.  
  513.      Transfer - Copy the screen mask into the cursor mask.
  514.  
  515.      Flip -     Flip the cursor mask either left-to-right (as in a
  516.                 mirror) or top-to-bottom.  This function alternates
  517.                 between the two modes, so if you click on it four
  518.                 times the cursor mask will end up looking like it did
  519.                 when you started.
  520.  
  521.      Up -       Move each row of pixels in the cursor mask up by one
  522.                 row. The top row of pixels is lost.
  523.  
  524.      Down -     Move each row of pixels in the cursor mask down by one
  525.                 row.  The bottom row of pixels is lost.
  526.  
  527.      Left -     Move each column of pixels in the cursor mask left by
  528.                 one column.  The left column of pixels is lost.
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.      
  538.                                   Page 9
  539.  
  540.      MCD - Mouse Cursor Designer                          Version 1.08
  541.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  542.      
  543.  
  544.      Right -    Move each column of pixels in the cursor mask right by
  545.                 one column.  The right column of pixels is lost.
  546.  
  547.      Screen/Cursor Mask Operations
  548.  
  549.      Building A Cursor
  550.  
  551.      Creating a graphics mouse cursor can be kind of a confusing
  552.      process if you haven't done it before.  You must keep the
  553.      following in mind while constructing your cursor:
  554.  
  555.          1. The screen mask is logically ANDed with the display area
  556.             that it is to overlay.  This means that all the pixels on
  557.             the display that correspond to ones in the screen mask
  558.             will remain unchanged, while all the pixels on the display
  559.             that correspond to zeroes in the screen mask will be set
  560.             to zero.
  561.  
  562.          2. The cursor mask is logically XORed (exclusively ORed) with
  563.             the results of the screen mask ANDing.  This means that
  564.             all the pixels on the display (following the above ANDing)
  565.             corresponding to zeroes in the cursor mask will remain
  566.             unchanged, while all the pixels on the display cor-
  567.             responding to ones in the cursor mask will have their bits
  568.             flipped (ones for zeroes and zeroes for ones).
  569.  
  570.          3. As you build a cursor with MCD, the results of what you
  571.             are building can be viewed immediately to the right of the
  572.             cursor mask. This display gives you a true picture of what
  573.             the cursor will really look like, on both a white
  574.             background and a black one.
  575.  
  576.      The recommended procedure to use MCD to build a mouse cursor is
  577.      listed below.
  578.  
  579.          1. Make sure that you start with the screen mask filled with
  580.             pixels and the cursor mask empty.
  581.  
  582.          2. Build your cursor in the cursor mask area using the
  583.             pointing finger.  To toggle a single pixel on or off, just
  584.             point at the pixel and click a mouse button.  To toggle
  585.             many pixels on or off, press and hold the mouse button,
  586.             then drag the pointing finger around.
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.      
  599.                                   Page 10
  600.  
  601.      MCD - Mouse Cursor Designer                          Version 1.08
  602.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  603.      
  604.  
  605.          3. When you finish with the cursor design in the cursor mask
  606.             area, you must decide whether the cursor is to be a see-
  607.             through cursor, overlay cursor or an animated cursor.
  608.             Overlay and animated cursors require changes to the screen
  609.             mask.
  610.  
  611.          4. Be sure to set the hotspot on your cursor where you want
  612.             it.
  613.  
  614.          5. Save your work when you have finished designing the
  615.             cursor.  Save a cursor image as well as generating a
  616.             source code fragment.
  617.  
  618.      See-through Cursors
  619.  
  620.      A see-through cursor allows you to see most of the object that the
  621.      cursor is overlaying.  A see-through cursor is simply one where
  622.      the screen mask pixels are all set.  This means that the only
  623.      places that get changed are the pixels in the cursor mask that
  624.      are set.  The HAIRS cursor included with this program is a good
  625.      example of a see-through cursor.
  626.  
  627.      Overlay Cursors
  628.  
  629.      An overlay cursor is drawn on the display so that it completely
  630.      overlays whatever is underneath it.  Most overlay cursors have
  631.      their hotspots at one edge of the cursor, so the user may see
  632.      what the cursor is actually pointing at.  Examples of overlay
  633.      cursors are PENCIL, FINGER and ARROW.
  634.  
  635.      To create an overlay cursor, the following must be done.
  636.  
  637.          1. After you have drawn your cursor in the cursor mask, go
  638.             over to the screen mask menu and click on 'Transfer'.
  639.             This moves the cursor mask image into the screen mask.
  640.  
  641.          2. Click on 'Invert' in the screen mask menu to make a
  642.             negative image of the screen mask.
  643.  
  644.          3. Go into the cursor image on the screen mask and clear all
  645.             the pixels within the boundary of the image.
  646.  
  647.          4. If you want the cursor to be outlined (if there is enough
  648.             room to do that), go around the outside of the cursor
  649.             image on the screen mask and clear out one more layer of
  650.             pixels.
  651.  
  652.          5. Save your work.
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.      
  660.                                   Page 11
  661.  
  662.      MCD - Mouse Cursor Designer                          Version 1.08
  663.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  664.      
  665.  
  666.      Animated Cursors
  667.  
  668.      Mouse graphics cursors can allow limited animation because of the
  669.      way they are displayed.  The animation occurs when the cursor is
  670.      moved from a dark area to a light area on the display (and vice
  671.      versa).  Examples of animated cursors are FACEIT, SPERM and
  672.      PACMAN.
  673.  
  674.      To create an animated cursor, the following must be done.
  675.  
  676.          1. After you have drawn your cursor in the cursor mask, you
  677.             must decide what pieces of it should disappear when the
  678.             cursor moves from a dark area to a light area.  Go over to
  679.             the screen mask and turn the corresponding pixels off in
  680.             that mask.  For example, in FACEIT, the corners of the
  681.             mouth and the frown are erased by turning those pixels off
  682.             in the screen mask.
  683.  
  684.          2. Decide what new pieces of the cursor must be on when the
  685.             cursor is in a light area, then turn those pixels off on
  686.             the screen mask.  Make sure that those areas do not
  687.             coincide with areas in the cursor mask that are turned on.
  688.             For example, in FACEIT, the mouth is turned into a smile
  689.             by erasing two small areas on the screen mask.
  690.  
  691.          3. Save your work.
  692.  
  693.      Creating Source Code
  694.  
  695.      Once you have your cursor designed the way that you want it, MCD
  696.      can create a file with a source code fragment in it that
  697.      describes your cursor.  You can pick C, Pascal, Basic or assembly
  698.      language as the language that MCD will use to create the code
  699.      fragment.  The fragment will consist of an array named 'cursor'
  700.      that contains the 32 words of screen mask and cursor mask, and
  701.      two variables named 'hsx' and 'hsy' that contain the horizontal
  702.      and vertical coordinates of the hotspot.  Naturally, each
  703.      language selection generates a different file.  Typical files for
  704.      each language is shown below.
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.      
  721.                                   Page 12
  722.  
  723.      MCD - Mouse Cursor Designer                          Version 1.08
  724.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  725.      
  726.      Pascal Example
  727.  
  728.              Const
  729.              cursor: Array [0..31] Of Word = (
  730.                      $ffff,$ffff,$ffff,$fc1f,$f88f,$f087,$e083,$ef7b,
  731.                      $e083,$f087,$f88f,$fc1f,$ffff,$ffff,$ffff,$ffff,
  732.                      $0,$0,$0,$0,$3e0,$7f0,$ff8,$0,
  733.                      $ff8,$7f0,$3e0,$0,$0,$0,$0,$0);
  734.              hsx : Word = 8;
  735.              hsy : Word = 7;
  736.  
  737.  
  738.      Basic Example
  739.  
  740.              10 DATA &Hffff,&Hffff,&Hffff,&Hfc1f,&Hf88f,&Hf087,&He083,&Hef7b
  741.              20 DATA &He083,&Hf087,&Hf88f,&Hfc1f,&Hffff,&Hffff,&Hffff,&Hffff
  742.              30 DATA &H0,&H0,&H0,&H0,&H3e0,&H7f0,&Hff8,&H0
  743.              40 DATA &Hff8,&H7f0,&H3e0,&H0,&H0,&H0,&H0,&H0
  744.              50 HSX = 8 : HSY = 7
  745.  
  746.  
  747.      C Example
  748.  
  749.              unsigned cursor[32] = {
  750.                  0xffff,0xffff,0xffff,0xfc1f,0xf88f,0xf087,0xe083,0xef7b,
  751.                  0xe083,0xf087,0xf88f,0xfc1f,0xffff,0xffff,0xffff,0xffff,
  752.                  0x0,0x0,0x0,0x0,0x3e0,0x7f0,0xff8,0x0,
  753.                  0xff8,0x7f0,0x3e0,0x0,0x0,0x0,0x0,0x0};
  754.              unsigned hsx = 8;
  755.              unsigned hsy = 7;
  756.  
  757.  
  758.      Assembly language example
  759.  
  760.              cursor: DW      0ffffh,0ffffh,0ffffh,0fc1fh
  761.                      DW      0f88fh,0f087h,0e083h,0ef7bh
  762.                      DW      0e083h,0f087h,0f88fh,0fc1fh
  763.                      DW      0ffffh,0ffffh,0ffffh,0ffffh
  764.                      DW      00h,00h,00h,00h
  765.                      DW      03e0h,07f0h,0ff8h,00h
  766.                      DW      0ff8h,07f0h,03e0h,00h
  767.                      DW      00h,00h,00h,00h
  768.              hsx:    DW      8
  769.              hsy:    DW      7
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.      
  782.                                   Page 13
  783.  
  784.      MCD - Mouse Cursor Designer                          Version 1.08
  785.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  786.      
  787.  
  788.                       Appendix A - MCD Error Messages
  789.  
  790.      MCD has four error messages.  They are listed and explained
  791.      below.
  792.  
  793.               Can't open the file
  794.  
  795.      MCD attempted to read or write the file that you specified, but
  796.      was not able to.  Make sure you have a legal file name.
  797.  
  798.               Can't find the directory
  799.  
  800.      MCD attempted to change to the directory that you specified, but
  801.      was not able to.  Make sure you have specified a legal directory,
  802.      as well as one that really exists.
  803.  
  804.               MCD will not run with this display adapter
  805.  
  806.      MCD will only run on a graphics display adapter such as a CGA,
  807.      EGA, VGA, Hercules, etc.  It will not run on a monochrome display
  808.      adapter, and possibly not on IBM 8514, AT&T or 3270 displays.
  809.  
  810.               Mouse driver not found
  811.  
  812.      Since MCD uses a mouse, a Microsoft compatible mouse driver must
  813.      be loaded before MCD is invoked.  Load the mouse driver, then run
  814.      MCD again.
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.      
  843.                                   Page 14
  844.  
  845.      MCD - Mouse Cursor Designer                          Version 1.08
  846.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  847.      
  848.  
  849.                Appendix B - Software Discrepancy Report Form
  850.  
  851.                         Software Discrepancy Report
  852.  
  853.      If you detect any errors in MCD, please fill out this form and
  854.      send it to:
  855.  
  856.                            Michael Burton
  857.                            15540 Boot Hill Rd.
  858.                            Hayden Lake, ID  83835
  859.  
  860.      Name: __________________________________________________________
  861.      Address: _______________________________________________________
  862.      City: _____________________________  State: ____  Zip: _________
  863.      Computer (PC, XT, AT, PS/2, etc.): _____________________________
  864.      Display adapter: _________________  Monitor Type: ______________
  865.      RAM size: _______   Operating System: __________  Version: _____
  866.      RAM-resident software loaded (in order loaded): ________________
  867.      ________________________________________________________________
  868.      ________________________________________________________________
  869.      Describe any unusual hardware in your system: __________________
  870.      ________________________________________________________________
  871.      ________________________________________________________________
  872.  
  873.      Please describe the problem you encountered in detail: _________
  874.      ________________________________________________________________
  875.      ________________________________________________________________
  876.      ________________________________________________________________
  877.      ________________________________________________________________
  878.      ________________________________________________________________
  879.      ________________________________________________________________
  880.      ________________________________________________________________
  881.      ________________________________________________________________
  882.      ________________________________________________________________
  883.      ________________________________________________________________
  884.      ________________________________________________________________
  885.      ________________________________________________________________
  886.      ________________________________________________________________
  887.      ________________________________________________________________
  888.      ________________________________________________________________
  889.      ________________________________________________________________
  890.      ________________________________________________________________
  891.      ________________________________________________________________
  892.      ________________________________________________________________
  893.      ________________________________________________________________
  894.      ________________________________________________________________
  895.      ________________________________________________________________
  896.      ________________________________________________________________
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.      
  904.                                   Page 15
  905.  
  906.      MCD - Mouse Cursor Designer                          Version 1.08
  907.      Copyright (C) 1988,1989 by Michael Burton               05 Jun 89
  908.      
  909.  
  910.                      Appendix C - MCD Revision History
  911.  
  912.  
  913.      Version Description
  914.  
  915.      1.08       Add color support for those displays that can show 
  916.                 more than two colors in high resolution mode.
  917.  
  918.      1.07       Add a help line to all screens that use the input
  919.                 editor.
  920.  
  921.                 Add automatic erasure of the default input line if the
  922.                 first key pressed is not an editing key.
  923.  
  924.      1.06       Fix MCD to properly display its cursor in Hercules
  925.                 graphics mode.
  926.  
  927.      1.05       Fix a small program bug.  When switching between the
  928.                 graphics display and any text display, MCD kept eating
  929.                 up the heap.  It would have taken 349 switches without
  930.                 leaving the program for this problem to become evident
  931.                 to the user.
  932.  
  933.                 Running MCD under some versions of DOS causes a Divide
  934.                 Overflow error, or causes the computer to loop when
  935.                 the mouse driver is missing. Fix by checking by
  936.                 checking for an int 33h vector of zero, as well as
  937.                 using int 33h, function 0.  Some versions of DOS do
  938.                 not initialize the interrupt vector table.
  939.  
  940.                 Add real-time coordinates display to the screen mask
  941.                 and cursor mask.  This allows more accurate
  942.                 positioning when creating a cursor.
  943.  
  944.                 Change the 'Mirror' function on both masks to 'Flip'.
  945.                 This function alternately flips the mask left-to-right
  946.                 and top-to-bottom.  Four clicks and you are back where
  947.                 you started.
  948.  
  949.      1.04       Initial program release. Released with 42 example
  950.                 cursor files.
  951.  
  952.      1.03 Beta  Test version. Added multiple directory support.
  953.                 Cleaned up files interface.
  954.  
  955.      1.02 Beta  Test version. Created multiple .MCD examples.  Changed
  956.                 default cursor from arrow to pointing finger.  Cleaned
  957.                 up code generation.
  958.  
  959.      1.01 Beta  Test version. Added ASM support, hotspot support,
  960.                 cursor swapping.
  961.  
  962.      1.00 Alpha Test version to verify design concepts.  Support C,
  963.                 PAS and BAS code generation.
  964.  
  965.                                   Page 16
  966.